package com.gba.mark.user.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gba.mark.user.entity.user.User;
import org.springframework.security.core.Authentication;

public interface IUserService extends IService<User> {
    String getUserNameIdByAuth(Authentication authentication);

    Integer getUserIdByAuth(Authentication authentication);

    String register(String username, String phoneNum, String password, String password2);

    String retrieve(String username, String phoneNum,  String newPaswd, String newPaswd2);
}
